/*
 * @Descripttion:
 * @version: 1.0
 * @Author: 刘思源
 * @Date: 2020-08-24 08:14:15
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2020-08-26 21:47:20
 */
import { getUrl, postUrl, deletedataUrl, putUrl } from '../utils/https'
export const getRoom = () => { // 全部教室的接口
  return getUrl('/manger/room')
}
export const addRoom = (data) => { // 添加教室的接口
  return postUrl('/manger/room', data)
}
export const deleteRoom = (id) => { // 删除教室的接口
  console.log(id, 'dddd')
  return deletedataUrl('/manger/room/delete', id)
}
export const editRoom = (form) => { // 编辑教室的接口
  return putUrl('/manger/room/update', form)
}
